const wxUserRouter = require("../router.js");
const {verifyParams} = require("@common/middleware")
const {sendCode} = require("./code.middleware")
const {saveCode} = require("./code.controller")

wxUserRouter.post("/sendCode",verifyParams(require("./validate")),sendCode,saveCode)